import java.util.ArrayList;

public class View {
    public static ArrayList<Student> View_all(ArrayList<Student> messageArrayList){
        System.out.println("学号  姓名  年龄");
        for (Student student : messageArrayList){
            System.out.println(student.getId()+"   "+student.getName()+"   "+student.getAge());
        }
    return  messageArrayList;
    }

}
